package main;

import java.util.List;

public class PageInfo {

	private String my_Url;
	private List<String> my_Text;
	private int my_NumLinks;

	public PageInfo(String the_url, List<String> the_text, int the_numLinks){
		my_Url = the_url;
		my_Text = the_text;
		my_NumLinks = the_numLinks;
	
	}
	public PageInfo(String the_url){
		my_Url = the_url;
		my_Text = null;
	
	}
	
	public List<String> getText(){
		return my_Text;
	}
	public String getURL(){
		return my_Url;
	}
	public int getNumLinks(){
		return my_NumLinks;
	}

}
